<template>
    <div class="page-3">
        <h3>页面3</h3>
        <p>{{id}}</p>
        <p>{{$route.params.type}}</p>
    </div>
</template>

<script>
    export default {
        data(){
            return{
                id:this.$route.params.id,
                type:this.$route.params.type
            }
        },
        created(){
            console.log(this.$route);
        }
    }
</script>

<style lang="sass" scoped>

</style>